dhtmlXGrid Special Technique

Browser caches xml files

This is native behaviour of IE. IE heavily caches XML files. It never loads it from server again if it has the file with same URL in cache.

Possible solitions:
  • dhtmlx native method (you need to use latest dhtmlxCommon.js and component main js file)
  • mygrid.preventIECaching(true);
  • You can manually add some random element to XML URL
  • mygrid.loadXML("my.xml"); //replace with mygrid.loadXML("my.xml?uid="+(new Date()).valueOf());

    Event blocked after attaching custom event handler

    Please be sure that all code paths ended with return true; instruction. By default code which return nothing is equal to return false; which blocks further processing. mygrid.attachEvent("someType",function(params){ //any code here return true; });